package br.com.californiahotel.client.service;

import java.util.List;

import br.com.californiahotel.shared.models.Locacao;
import br.com.californiahotel.shared.models.Servico;

import com.google.gwt.user.client.rpc.AsyncCallback;

public interface LocacaoServiceAsync {

	void save(Locacao model, AsyncCallback<Boolean> callback);

	void findAll(AsyncCallback<List<Locacao>> callback);

	void delete(String key, AsyncCallback<Boolean> callback);

	void edit(Locacao model, String id, AsyncCallback<Boolean> callback);

	void findAllServicosById(Integer idApto,
			AsyncCallback<List<Servico>> callback);

}
